home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_4
/
mm_1_0.lha
/
MM
/
Rexx
/
MM_EditMsgFlags.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-01-11
|
580b
|
39 lines
/*
** Example script for MM_ReadMsg and MM_EditMsgFlags commands
*/
address 'MAILMANAGER'
drop FLAGSTRING
MM_ReadMsg 'MATRIX' 854 MSG
if RC=0 then do
say
say
say 'From:' MSG.FROM MSG.FROMADDR
say 'To: ' MSG.TO MSG.TOADDR
say 'Subj:' MSG.SUBJ
say 'Date:' MSG.DATE
say 'Flags:' MSG.FLAGS
say
end
FLAGSTRING = "!SENT"
MM_EditMsgFlags 'MATRIX' 854 'FLAGSTRING'
say RC
MM_ReadMsg 'MATRIX' 854 MSG
if RC=0 then do
say
say
say 'From:' MSG.FROM MSG.FROMADDR
say 'To: ' MSG.TO MSG.TOADDR
say 'Subj:' MSG.SUBJ
say 'Date:' MSG.DATE
say 'Flags:' MSG.FLAGS
say
end